package com.amigo.online.provider.adv.entity;

import javax.persistence.Column;
import javax.persistence.Table;

@Table(name = "adv_home_click_record_tbl")
public class AdvHomeClickRecord extends BasicEntity {

    /**
     * @Fields serialVersionUID : (用一句话描述这个变量表示什么)
     */
    private static final long serialVersionUID = -2138044735263489893L;

    @Column(name = "adv_id")
    private long advId;

    @Column(name = "user_id")
    private Long userId;

    @Column(name = "device")
    private String device;

    public long getAdvId() {
        return advId;
    }

    public void setAdvId(long advId) {
        this.advId = advId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getDevice() {
        return device;
    }

    public void setDevice(String device) {
        this.device = device;
    }

    public AdvHomeClickRecord(long advId, Long userId, String device) {
        super();
        this.advId = advId;
        this.userId = userId;
        this.device = device;
    }

    @Override
    public String toString() {
        return "AdvHomeClickRecord [advId=" + advId + ", userId=" + userId + ", device=" + device + ", getId()="
                + getId() + ", getDeleted()=" + getDeleted() + ", getCreatedTime()=" + getCreatedTime()
                + ", getDeletedTime()=" + getDeletedTime() + ", getUpdatedTime()=" + getUpdatedTime() + "]";
    }

}
